package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.Advertisement;
@Mapper
public interface AdvertisementDao {
    boolean deleteByPrimaryKey(int[] id);

    boolean insertSelective(Advertisement record);

    Advertisement selectByPrimaryKey(Advertisement advertisement);

    boolean updateByPrimaryKeySelective(Advertisement record);
    /**
     * 查找全部
     * @return
     */
	List<Advertisement> selectAll();

}